package com.dlut.java;

/**
 * @Author: LiuHeng
 * @Description:
 * @Date: 2022-08-22 23:10
 */
public class TestVolatile {
    public int i;
    volatile int j;
    synchronized void fun(){}
    void n(){
        synchronized (this){

        }
    }

}
